'use strict'
import request from '@/utils/request'
/**
 * 列表查询
 */
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activityRegistInfo/queryPage',
    method: 'post',
    data
  })
}

export function maskAPI(params) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activityRegistInfo/maskingExport',
    method: 'post',
    data: params,
    responseType: 'blob'
  })
}
export function noMaskAPI(params) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activityRegistInfo/noMaskingExport',
    method: 'post',
    data: params,
    responseType: 'blob'
  })
}
/**
 * 详情
 */
export function get(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activityRegistInfo/get',
    method: 'post',
    data
  })
}
/**
 * 审核
 */
export function check(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activityRegistInfo/auth',
    method: 'post',
    data
  })
}
